home *** CD-ROM | disk | FTP | other *** search
- on IJ x
- go(x)
- resetC()
- end
-
- on GoMenu
- global MenuMan
- if MenuMan starts "go" then
- do(MenuMan)
- else
- go("menu", "aa02")
- end if
- end
-
- on BTog
- global TOG
- set x to the locH of sprite 21
- puppetSprite(21, 1)
- puppetSprite(22, 1)
- puppetSprite(23, 1)
- puppetSprite(24, 1)
- if TOG = 0 then
- set TOG to 1
- set the locV of sprite 21 to 342
- set the locV of sprite 22 to 342
- set the locV of sprite 23 to 342
- set the locV of sprite 24 to 342
- else
- set TOG to 0
- set the locV of sprite 21 to 422
- set the locV of sprite 22 to 422
- set the locV of sprite 23 to 422
- set the locV of sprite 24 to 422
- end if
- end
-
- on FeedJump b, bm, f, fm
- global JBack, JFore, MBack, MFore
- set JBack to b
- set MBack to bm
- set JFore to f
- set MFore to fm
- end
-
- on GoBack
- global JBack, JFore, MBack, MFore, TOG
- set TOG to 0
- if JBack = "MainMenu" then
- GoMenu()
- exit
- else
- if stringp(MBack) then
- go(JBack, MBack)
- else
- if MBack = 1 then
- go(1, JBack)
- else
- if MBack = 0 then
- go(JBack)
- else
- go(JBack, MBack)
- end if
- end if
- end if
- end if
- end
-
- on GoFore
- global JBack, JFore, MBack, MFore, TOG
- set TOG to 0
- if JFore = "MainMenu" then
- go("Menu", "aa02")
- exit
- else
- if JFore = "EndGAME" then
- go("End", "aa02")
- exit
- else
- if stringp(MFore) then
- go(JFore, MFore)
- else
- if MFore = 1 then
- go(1, JFore)
- else
- if MFore = 0 then
- go(JFore)
- else
- go(JFore, MFore)
- end if
- end if
- end if
- end if
- end if
- end
-
- on AJ x
- global MJumpCounter
- set MJumpCounter to MJumpCounter + 1
- if x = 1 then
- if MJumpCounter > 12 then
- set MJumpCounter to 0
- go(marker(1))
- exit
- end if
- end if
- if integerp(x) = 0 then
- if MJumpCounter > 10 then
- set MJumpCounter to 0
- go(x)
- exit
- end if
- end if
- if x = 6 then
- go(marker(1))
- resetC()
- exit
- end if
- go(marker(0))
- end
-
- on resetC
- global MJumpCounter
- set Countr to 0
- end
-